﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserControl/MasterPage.Master"
    AutoEventWireup="true" CodeBehind="ChiTietHoaDon.aspx.cs" Inherits="TMDT_Nhom1A.Customer.ChiTietHoaDon" %>

<%@ Register Src="../UserControl/GioHang.ascx" TagName="GioHang" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <uc1:GioHang ID="GioHang1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="module_round_box_inner">
        <div class="module_round_box_inner2">
            <div class="s5_mod_h3_1">
                <div class="s5_mod_h3_2">
                    <h3 class="s5_mod_h3">
                        <span class="s5_h3_first">Chi tiết hóa đơn</span>
                    </h3>
                </div>
            </div>
            <div style="margin-top: 10px; margin-bottom: 10px">
                <div style="margin-left: 20px; margin-bottom: 10px">
                    <b>Ngày đặt mua :
                        <asp:Label ID="lbdate" runat="server" Text="Label"></asp:Label></b>
                </div>
                <asp:GridView ID="gvdetailbillbuyonline" Visible="false" runat="server" Width="100%"
                    AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField HeaderText="Hóa đơn">
                            <ItemTemplate>
                                <a href='<%# "../San_Pham/ChiTietSanPham.aspx?ElectricDeviceID=" + Eval("ElectricDevice_ID") %>'>
                                    <%# Eval("ElectricDevice_ID")%></a>
                            </ItemTemplate>
                            <ItemStyle Width="200px" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="Quantity" HeaderText="Số lượng">
                            <ItemStyle HorizontalAlign="Left" Width="200px"  />
                        </asp:BoundField>
                        <asp:BoundField DataField="Cost" HeaderText="Thành tiền" DataFormatString="{0:###,###,### VND}">
                            <ItemStyle HorizontalAlign="Center" Width="200px" />
                        </asp:BoundField>
                    </Columns>
                    <HeaderStyle CssClass="HeaderGrid" />
                </asp:GridView>
                <asp:GridView ID="gvdetailbillbuybycompany" Visible="false" runat="server" Width="100%"
                    AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField HeaderText="Hóa đơn">
                            <ItemTemplate>
                                <a href='<%# "../San_Pham/ChiTietSanPham.aspx?CouponID=" + Eval("Coupon_ID") %>'>
                                    <%# Eval("Coupon_ID")%></a>
                            </ItemTemplate>
                            <ItemStyle Width="200px" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="Quantity" HeaderText="Số lượng">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Cost" HeaderText="Thành tiền" DataFormatString="{0:###,###,### VND}">
                            <ItemStyle HorizontalAlign="Center" Width="200px" />
                        </asp:BoundField>
                    </Columns>
                    <HeaderStyle CssClass="HeaderGrid" />
                </asp:GridView>
                <div style="margin-left: 400px; margin-top: 10px">
                    <b>Tổng tiền :
                        <asp:Label ID="lbtotalprice" Font-Bold="true" ForeColor="Red" runat="server" Text="Label"></asp:Label></b>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
